﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebService.BusinessEntities
{
    /// <summary>
    /// Encja zaproszenia do znajomych w systemie kasyna
    /// </summary>
    public partial class UserInvitation
    {
        public UserInvitation()
        {
        }
        /// <summary>
        /// Konstruktor parametrowy encji zaproszenia w kasynie
        /// </summary>
        /// <param name="acceptation_date">Data akceptacji</param>
        /// <param name="sent_by">ID uzytownika nadawcy</param>
        /// <param name="sent_date">Data wyslania</param>
        /// <param name="sent_to">ID uzytkownika adresata</param>
        public UserInvitation(Nullable<System.DateTime> acceptation_date, System.Int32 sent_by, System.DateTime sent_date, System.Int32 sent_to)
        {
            this.acceptation_dateField = acceptation_date;
            this.sent_byField = sent_by;
            this.sent_dateField = sent_date;
            this.sent_toField = sent_to;
        }
        
        private Nullable<System.DateTime> acceptation_dateField;
        /// <summary>
        /// Data akceptacji zaproszenia
        /// </summary>
        public Nullable<System.DateTime> acceptation_date
        {
            get { return this.acceptation_dateField; }
            set { this.acceptation_dateField = value; }
        }

        private System.Int32 sent_byField;
        /// <summary>
        /// ID uzytkownika nadawcy
        /// </summary>
        public System.Int32 sent_by
        {
            get { return this.sent_byField; }
            set { this.sent_byField = value; }
        }
        
        private System.DateTime sent_dateField;
        /// <summary>
        /// Data wyslania zaproszenia
        /// </summary>
        public System.DateTime sent_date
        {
            get { return this.sent_dateField; }
            set { this.sent_dateField = value; }
        }
        
        private System.Int32 sent_toField;
        /// <summary>
        /// ID uzytkownika adresata
        /// </summary>
        public System.Int32 sent_to
        {
            get { return this.sent_toField; }
            set { this.sent_toField = value; }
        }

    }
}

